package com.chat.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chat.api.dto.AuthFriendRelationPageDTO;
import com.chat.api.dto.AuthSetGroupDTO;
import com.chat.api.entity.FriendRelation;
import com.chat.api.vo.AuthFriendRelationPageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FriendRelationMapper extends BaseMapper<FriendRelation> {
    Page<AuthFriendRelationPageVO> FriendRelationPage(@Param("page") Page page,@Param("dto") AuthFriendRelationPageDTO dto);

    void setgroup(@Param("dto") AuthSetGroupDTO dto);
}
